package com.lxmes.business.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 要货计划对象 ps_yh_plan
 * 
 * @author 张志煜
 * @date 2023-03-21
 */
public class PsYhPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String factoryName;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String factoryCode;

    /** 要货类型 */
    @Excel(name = "要货类型")
    private String yhType;
    /** 指定到货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "要货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date yhDate;

    /** 要货计划号 */
    @Excel(name = "要货计划号")
    private String yhPlanId;

    /** 要货单位名称 */
    @Excel(name = "要货单位名称")
    private String yhDwName;

    /** 要货单位编码 */
    @Excel(name = "要货单位编码")
    private String yhDwCode;

    /** 计划要货数量 */
    @Excel(name = "计划要货数量")
    private BigDecimal jhYhNum;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String contractCode;

    /** 合同数量 */
    @Excel(name = "合同数量")
    private BigDecimal contractNum;

    /** 指定到货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "指定到货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date zddhDate;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String itemName;
    /** 物料编号 */
    @Excel(name = "物料编号")
    private String itemCode;
    /** 物料子编号 */
    @Excel(name = "物料子编号")
    private String itemId;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String spec;

    /** 物料单位 */
    @Excel(name = "物料单位")
    private String unit;

    /** 批次 */
    @Excel(name = "批次")
    private String lot;

    /** 供应商编码 */
    @Excel(name = "供应商编码")
    private Long supplyId;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplyName;

    /** 要货仓库编码 */
    @Excel(name = "要货仓库编码")
    private String stockId;

    /** 要货仓库名称 */
    @Excel(name = "要货仓库名称")
    private String stockName;

    /** 要货库区编码 */
    @Excel(name = "要货库区编码")
    private String kuquCode;

    /** 要货库区名称 */
    @Excel(name = "要货库区名称")
    private String kuquName;

    /** 托管标识 */
    @Excel(name = "托管标识")
    private String isTuoguan;

    /** 质量状态 */
    @Excel(name = "质量状态")
    private String qualityState;

    /** 制造商编码 */
    @Excel(name = "制造商编码")
    private String makerCode;

    /** 制造商名称 */
    @Excel(name = "制造商名称")
    private String makerName;

    /** 尺寸 */
    @Excel(name = "尺寸")
    private BigDecimal size;

    /** 单重 */
    @Excel(name = "单重")
    private BigDecimal singleWeight;

    /** 总重 */
    @Excel(name = "总重")
    private BigDecimal totalWeight;

    /** 使用状态 */
    @Excel(name = "使用状态")
    private String useState;

    /** 颜色 */
    @Excel(name = "颜色")
    private String color;

    /** 花纹 */
    @Excel(name = "花纹")
    private String figure;

    /** 材质 */
    @Excel(name = "材质")
    private String caizhi;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFactoryName(String factoryName) 
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName() 
    {
        return factoryName;
    }
    public void setFactoryCode(String factoryCode) 
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode() 
    {
        return factoryCode;
    }
    public void setYhType(String yhType)
    {
        this.yhType = yhType;
    }

    public String getYhType()
    {
        return yhType;
    }
    public void setYhPlanId(String yhPlanId) 
    {
        this.yhPlanId = yhPlanId;
    }

    public String getYhPlanId() 
    {
        return yhPlanId;
    }
    public void setYhDwName(String yhDwName) 
    {
        this.yhDwName = yhDwName;
    }

    public String getYhDwName() 
    {
        return yhDwName;
    }
    public void setYhDwCode(String yhDwCode) 
    {
        this.yhDwCode = yhDwCode;
    }

    public String getYhDwCode() 
    {
        return yhDwCode;
    }
    public void setJhYhNum(BigDecimal jhYhNum) 
    {
        this.jhYhNum = jhYhNum;
    }

    public BigDecimal getJhYhNum() 
    {
        return jhYhNum;
    }
    public void setContractCode(String contractCode) 
    {
        this.contractCode = contractCode;
    }

    public String getContractCode() 
    {
        return contractCode;
    }
    public void setContractNum(BigDecimal contractNum) 
    {
        this.contractNum = contractNum;
    }

    public BigDecimal getContractNum() 
    {
        return contractNum;
    }
    public void setZddhDate(Date zddhDate) 
    {
        this.zddhDate = zddhDate;
    }

    public Date getZddhDate() 
    {
        return zddhDate;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setItemId(String itemId) 
    {
        this.itemId = itemId;
    }

    public String getItemId() 
    {
        return itemId;
    }
    public void setItemCode(String itemCode) 
    {
        this.itemCode = itemCode;
    }

    public String getItemCode() 
    {
        return itemCode;
    }
    public void setSpec(String spec) 
    {
        this.spec = spec;
    }

    public String getSpec() 
    {
        return spec;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setLot(String lot) 
    {
        this.lot = lot;
    }

    public String getLot() 
    {
        return lot;
    }
    public void setSupplyId(Long supplyId) 
    {
        this.supplyId = supplyId;
    }

    public Long getSupplyId() 
    {
        return supplyId;
    }
    public void setSupplyName(String supplyName) 
    {
        this.supplyName = supplyName;
    }

    public String getSupplyName() 
    {
        return supplyName;
    }
    public void setStockId(String stockId) 
    {
        this.stockId = stockId;
    }

    public String getStockId() 
    {
        return stockId;
    }
    public void setStockName(String stockName) 
    {
        this.stockName = stockName;
    }

    public String getStockName() 
    {
        return stockName;
    }
    public void setKuquCode(String kuquCode) 
    {
        this.kuquCode = kuquCode;
    }

    public String getKuquCode() 
    {
        return kuquCode;
    }
    public void setKuquName(String kuquName) 
    {
        this.kuquName = kuquName;
    }

    public String getKuquName() 
    {
        return kuquName;
    }
    public void setIsTuoguan(String isTuoguan) 
    {
        this.isTuoguan = isTuoguan;
    }

    public String getIsTuoguan() 
    {
        return isTuoguan;
    }
    public void setQualityState(String qualityState) 
    {
        this.qualityState = qualityState;
    }

    public String getQualityState() 
    {
        return qualityState;
    }
    public void setMakerCode(String makerCode) 
    {
        this.makerCode = makerCode;
    }

    public String getMakerCode() 
    {
        return makerCode;
    }
    public void setMakerName(String makerName) 
    {
        this.makerName = makerName;
    }

    public String getMakerName() 
    {
        return makerName;
    }
    public void setSize(BigDecimal size) 
    {
        this.size = size;
    }

    public BigDecimal getSize() 
    {
        return size;
    }
    public void setSingleWeight(BigDecimal singleWeight) 
    {
        this.singleWeight = singleWeight;
    }

    public BigDecimal getSingleWeight() 
    {
        return singleWeight;
    }
    public void setTotalWeight(BigDecimal totalWeight) 
    {
        this.totalWeight = totalWeight;
    }

    public BigDecimal getTotalWeight() 
    {
        return totalWeight;
    }
    public void setUseState(String useState) 
    {
        this.useState = useState;
    }

    public String getUseState() 
    {
        return useState;
    }
    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }
    public void setFigure(String figure) 
    {
        this.figure = figure;
    }

    public String getFigure() 
    {
        return figure;
    }
    public void setCaizhi(String caizhi) 
    {
        this.caizhi = caizhi;
    }

    public String getCaizhi() 
    {
        return caizhi;
    }

    public Date getYhDate() {
        return yhDate;
    }

    public void setYhDate(Date yhDate) {
        this.yhDate = yhDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryName", getFactoryName())
            .append("factoryCode", getFactoryCode())
            .append("yhType", getYhType())
            .append("yhPlanId", getYhPlanId())
            .append("yhDwName", getYhDwName())
            .append("yhDwCode", getYhDwCode())
            .append("jhYhNum", getJhYhNum())
            .append("contractCode", getContractCode())
            .append("contractNum", getContractNum())
            .append("zddhDate", getZddhDate())
            .append("itemName", getItemName())
            .append("itemId", getItemId())
            .append("itemCode", getItemCode())
            .append("spec", getSpec())
            .append("unit", getUnit())
            .append("lot", getLot())
            .append("supplyId", getSupplyId())
            .append("supplyName", getSupplyName())
            .append("stockId", getStockId())
            .append("stockName", getStockName())
            .append("kuquCode", getKuquCode())
            .append("kuquName", getKuquName())
            .append("isTuoguan", getIsTuoguan())
            .append("qualityState", getQualityState())
            .append("makerCode", getMakerCode())
            .append("makerName", getMakerName())
            .append("size", getSize())
            .append("singleWeight", getSingleWeight())
            .append("totalWeight", getTotalWeight())
            .append("useState", getUseState())
            .append("color", getColor())
            .append("figure", getFigure())
            .append("caizhi", getCaizhi())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
